package yawning.mew.cat;

import yawning.mew.character.Druid.Talent;
import yawning.mew.sim.SimulationEvent;


public class EventStampede extends SimulationEvent {
	CatModelSimState mState;
	
	EventStampede(CatModelSimState state) {
		super(state.mSimUtil);
		mState = state;
	}

//	@Override
	public void run() {
		if (mState.mModel.druid.getTalent(Talent.STAMPEDE) > 0) {
			if (mState.mDebug) mState.DBGF("Stampede");

			schedule(mState.mModel.stampedeBuffDuration);
		}
		return;
	}

	@Override
	public void onExpire() {
		if (mState.mDebug) mState.DBGF("Stampede Expiration");
	}
}